(function(){
	var body = $(window.document.body);
	body.on('mouseenter mouseleave',
			'.J-cover-img',
			function(e){
				 $(this).closest('.J-item-cover')[e.type==='mouseenter'?'addClass':'removeClass']('hover');
			});
	if($('.pix_diapo').length>0){
		$('.pix_diapo').diapo();
	}
	if($('#category-nav').length>0){
		var categoriesNavigate = new $.lvi.fn.SiteCategoryNav('category-nav',null);
	}
	if($('#mini-slider').length>0){
		var miniSlider = new $.lvi.fn.MiniSlider('mini-slider',null);
		miniSlider.viewSlide(0);
	}
})();